Consulting tools

Herramienta de información rápida

In gvSIG, this tool is used to quickly display available information when working with a view containing visible vector layers (including WFS layers, which are vector layers).

infrapact Quick Info is enabled if vector layers are visible in the current view.

infrapdes Quick Info is disabled if no vector layers are visible in the current view.

With this tool you can select fields from vector layers visible in the current view. Information from these fields is displayed as you move the mouse cursor over the view. The tool works in combination with any other tools selected for the view.

You can access the Quick Info tool in two ways:

  1. Via the menu: View → Query → Quick Info
  2. Via the icon on the toolbar.

When the tool is selected a progress bar is displayed which shows the layers being loaded:

herramienta-de-informacion-rapida_en.img/BarraProgresoCargaInformacion_en.png

Progress bar for loading information

If there were no problems loading the information the Quick info field selection dialog is shown:

herramienta-de-informacion-rapida_en.img/InformacionRapidaSinFallos_en.png

Dialog for the selection of fields

  1. Drop-down list for selecting vector layers. Lists the layers in the order that they appear in the TOC of the active view. The following information is shown:

Level of the Layer in the TOC: displays icons and grouping nodes tocicon containing the layer. The last icon always represents the vector layer.

Name of the layer.

Type of geometry of the layer: five types of geometry layer are supported: point, line, polygon, multipoint, and multi (the latter may contain any of the above).

  1. List of Fields. Contains three columns:
    • Selection box (checkbox): indicates whether or not to display the field information.
    • Field Type + Field Name: the field type is represented by an icon as shown in the following table:
      • iconsimp The field type is simple.
      • The field type is complex.
    • Type of field: according to the SQL types.
  2. Calculated fields. List of checkboxes to select which geometry fields to calculate. These vary depending on the geometry of the layer:
    • Point layer: point coordinates.
    • Line layer: length of the line.
    • Polygon layer: perimeter and area of ​​the polygon.
    • Multipoint layer: number of points.
    • Multi-geometry layer: any of the above; the information will vary according to the selection and the nature of the geometry.

infamar The units of length and area are displayed using the measurement units of the View.

  1. Selecting / de-selecting all the fields in the layer. Select or de-select all the fields in the layer.
  2. Sort fields. Sort fields alphabetically in ascending or descending order, or according to the internal order of the layer (default).

After selecting the fields, click Ok to enable the tool in the current view. The Quick info tool works in combination with Quick info tools for other Views. Thus, when enabled, it combines with each active View to display information. The tool settings can be changed for each View and are linked to that View.

As the cursor is moved over the geometry of a layer, the information box showing the information is displayed and/or updated. This box disappears when the cursor no longer "points" to any geometry of the layer.

herramienta-de-informacion-rapida_en.img/GeometriasDeLaCapa_en.png

Example showing the display from the Quick info tool

If there is more than one geometry adjacent to the point indicated by the cursor then information is displayed about all of them, as distinguished by the unique internal identifier of the geometry.

Thus, the information is provided in the following order:


Hiperenlace avanzado

The Advanced Hyperlink tool in this version of gvSIG significantly extends the functionality of the hyperlink tool found in version 1.1.

The tool is accessible either from the Layer menu (Layer > Advanced Hyperlink) or by clicking the icon on the toolbar.

hiperenlace-avanzado/hiperenlace_en.img/BotonHiperenlace_en.png

Accessing the Hyperlink tool

Hyperlinks are configured at the layer level, which means that they can be enabled or disabled per layer. To set the hyperlink for a layer, double-click on the layer name in the TOC to open the Layer Properties and select the Hyperlink tab.

The hyperlink configuration screen looks like this:

hiperenlace-avanzado/hiperenlace_en.img/ConfigurarHiperenlace_en.png

Hyperlink Configuration

Remember that the layer's attribute table must be correctly prepared for the hyperlinks to work. To do this, edit the relevant record and insert the path to the hyperlinked file, leaving out the extension.

After the hyperlinks have been setup and enabled, select the Advanced Hyperlink tool and find the item in the View that corresponds to the record associated with the link. Click on the item and a window will open displaying the linked file.

Actions

The Advanced Hyperlink tool provides the following actions:

  1. Link to text and HTML files: the tool will open a window in gvSIG and load the linked text or HTML document into it.
  2. Link to image files: the tool will open a window in gvSIG and load the linked image into it.
  3. Link to PDF files: the tool will open a window in gvSIG and load the linked PDF document into it.
  4. Load raster layer: the tool loads the raster layer into the active View.
  5. Load vector layer: the tool loads the vector layer into the active View.
  6. Link to SVG files: the tool will open a window in gvSIG and load the linked SVG file into it.

NOTE 1: When editing the hyperlink fields in the attribute table, if a path longer than the maximum field length is entered, the path will be truncated (without warning) to the maximum field length. By default, fields are created with a maximum length of 50 characters. Fields should be defined to handle long paths when necessary, otherwise only very short paths can be stored.

For example: if we enter

C:/Documents and Settings/My documents/images/villafafila.jpg

and the maximum field length is 50 characters, the path will be truncated to:

C:/Documents and Settings/My documents/images/vill

which is not what is wanted.

NOTE 2: Please note that if the path you enter contains an image or file extension that is registered in the registry, you should not also enter it when configuring the hyperlink properties as this would be duplicating the information.


Cached time 11/22/13 04:51:24 Clear cache and reload